# See LICENSE file for copyright and license details.

include ../config.mk

SRC = dat.c
OBJ = $(SRC:.c=.o)

EXECS = dat
LIB = ../libort.a


all: $(EXECS)

.c.o:
	@$(CC) $(CFLAGS) -c $<

clean:
	@rm -f $(EXECS) $(OBJ)

dat: dat.o $(LIB)
	@$(CC) -g -o $@ $^ $(LDFLAGS)

